import java.math.*;

public class InputGate implements Gate{

    BigInteger share;
    int ID;

    public InputGate(int ID){
        this.ID = ID;
    }    

    public BigInteger getShare(){
        return share;
    }

    public int getID(){
        return ID;
    }

    public void setShare(BigInteger share){
        this.share = share;
    }

    public InputGate copy(){
        InputGate copy = new InputGate(ID);
        if(share != null){
            copy.setShare(share);
        }
        return copy;
    }

}